<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
    <title>마이 페이지 >>>  건강치 리스트</title>
    <style type="text/css">
        table { border:1px solid black; width: 400px; height: 440; text-align: center;}
        div div { width: 400px; height: 30px; background: red;}
        .healthCheck input { margin: 0 auto; display: block;}
    </style>
</head>
<body>
    <div class="healthCheck" style="width: 400px; height: 500px;">
        <div>
           버피 의 건강치 : ${login.healthpointTotal }
        </div>
        <table>
            <tr>
	            <th>일시</th>
	            <th>내용</th>
	            <th>+건강치</th>
<!-- 	            <th>-건강치</th> -->
     
            </tr>    
        <c:forEach var="health" items="${member }">
            <tr>
                <td>${health.inputDate }</td>    
                <td>${health.healthpointInfomation }</td>
              <%--   <c:if test="${health.healthpointChange == 5000} "> --%>
                	<td>${health.healthpointChange }</td>
                	<td></td>
               <%--  </c:if>
                <c:if test="${health.healthpointChange == '5000' } ">
                	<td></td>
                	<td>${health.healthpointChange }</td>
                </c:if> --%>
            </tr>
        </c:forEach>
        </table>
        <input type="reset" value="확 인"></input>
    </div>
</body>
</html>